package com.cloudsense.ftestm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfigurationExcludeFilter;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.TypeExcludeFilter;
import org.springframework.context.annotation.ComponentScan;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static org.springframework.context.annotation.FilterType.CUSTOM;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)

@EnableAutoConfiguration
//@ComponentScan(excludeFilters={@ComponentScan.Filter(type=CUSTOM, classes={TypeExcludeFilter.class}), @ComponentScan.Filter(type=CUSTOM, classes={AutoConfigurationExcludeFilter.class})})

public class FtestmApplication {

    public static void main(String[] args) {
        SpringApplication.run(FtestmApplication.class, args);
    }
}
